🌎 rns.kin.earth git 🌍
Commit 8221f82dc0439cea4009470b4a1133dd5272ca6e
Parents : 38e9d1c
Author : Mark Qvist <bc7291552be7a58f361522990465165c>
Signature : T66BB85Valid, signed by author
Date : 2026-08-25T01:52:05+02:00
Cleanup
Changes
Diff
diff --git a/RNS/Transport.py b/RNS/Transport.py
index a65d889c..8331f290 100755
--- a/RNS/Transport.py
+++ b/RNS/Transport.py
@@ -2159,8 +2159,7 @@ class Transport:
Transport.transmit(outbound_interface, new_raw)
Transport.link_table[packet.destination_hash][IDX_LT_TIMESTAMP] = time.time()
- else:
- RNS.log(f"No-outbound return on link packet from {packet.receiving_interface}", RNS.LOG_WARNING) # TODO: Remove
+ else: RNS.log(f"No-outbound return on link packet from {packet.receiving_interface}", RNS.LOG_EXTREME) if RNS.sl(RNS.LOG_EXTREME) else None
# TODO: Can we return safely here? Test and possibly enable this at some point.
return
@@ -2602,11 +2601,7 @@ class Transport:
while packet.packet_hash in Transport.packet_hashlist: Transport.packet_hashlist.remove(packet.packet_hash)
while packet.packet_hash in Transport.packet_hashlist_prev: Transport.packet_hashlist_prev.remove(packet.packet_hash)
else:
- destination = None
- with Transport.destinations_map_lock:
- if packet.destination_hash in Transport.destinations_map:
- destination = Transport.destinations_map[packet.destination_hash]
-
+ destination = Transport.destinations_map.get(packet.destination_hash)
if destination and destination.type == packet.destination_type:
packet.destination = destination
if destination.receive(packet):
Served by rngit 1.5.2 - Generated in 0.08s